package ck.mmd.bean;

import java.io.Serializable;
import java.util.Date;

public class User implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;  
	private String username;  //用户名
	private String userpass;  //密码
	private String email;    //邮箱
	private float priced;    //已消费
	private int power;       //权限   0-管理员   1-普通用户    2-卖家用户
	private int activestate;    //是否激活   0-没   1-已激活
	private String activecode;  //激活码
	private Date registtime;   //注册时间
	private Date sendtime;   //申请时间
	private Date sendoktime;  //申请通过时间
	private Date lastlogintime; //上次登录时间
	private String backimg;
	private String logoimg;
	private String sex;
	private String phone;
	private int issale_power;
	private String saletype;
	private String realname;
	private String salename;
	private int issendsale;
	private int adopt_num;
	
	
	public User(){
		
	}
	
	
	public int getAdopt_num() {
		return adopt_num;
	}
	public void setAdopt_num(int adopt_num) {
		this.adopt_num = adopt_num;
	}
	public Date getSendtime() {
		return sendtime;
	}
	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}
	public Date getSendoktime() {
		return sendoktime;
	}
	public void setSendoktime(Date sendoktime) {
		this.sendoktime = sendoktime;
	}
	public int getIssendsale() {
		return issendsale;
	}
	public void setIssendsale(int issendsale) {
		this.issendsale = issendsale;
	}
	public String getSaletype() {
		return saletype;
	}
	public void setSaletype(String saletype) {
		this.saletype = saletype;
	}
	public String getRealname() {
		return realname;
	}
	public void setRealname(String realname) {
		this.realname = realname;
	}
	public String getSalename() {
		return salename;
	}

	public void setSalename(String salename) {
		this.salename = salename;
	}

	public int getIssale_power() {
		return issale_power;
	}
	public void setIssale_power(int issale_power) {
		this.issale_power = issale_power;
	}
	public String getBackimg() {
		return backimg;
	}
	public void setBackimg(String backimg) {
		this.backimg = backimg;
	}
	public String getLogoimg() {
		return logoimg;
	}
	public void setLogoimg(String logoimg) {
		this.logoimg = logoimg;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public Date getLastlogintime() {
		return lastlogintime;
	}
	public void setLastlogintime(Date lastlogintime) {
		this.lastlogintime = lastlogintime;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getUserpass() {
		return userpass;
	}
	public void setUserpass(String userpass) {
		this.userpass = userpass;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public float getPriced() {
		return priced;
	}
	public void setPriced(float priced) {
		this.priced = priced;
	}
	public int getPower() {
		return power;
	}
	public void setPower(int power) {
		this.power = power;
	}
	public int getActivestate() {
		return activestate;
	}
	public void setActivestate(int activestate) {
		this.activestate = activestate;
	}
	public String getActivecode() {
		return activecode;
	}
	public void setActivecode(String activecode) {
		this.activecode = activecode;
	}
	public Date getRegisttime() {
		return registtime;
	}
	public void setRegisttime(Date registtime) {
		this.registtime = registtime;
	}
}
